package com.lxmes.hr.service;

import java.util.List;
import com.lxmes.hr.domain.NcAttendSummary;

/**
 * 考勤汇总Service接口
 *
 * @author ruoyi
 * @date 2022-11-25
 */
public interface INcAttendSummaryService
{
    /**
     * 查询考勤汇总
     *
     * @param id 考勤汇总主键
     * @return 考勤汇总
     */
    public NcAttendSummary selectNcAttendSummaryById(Long id);

    /**
     * 查询考勤汇总列表
     *
     * @param ncAttendSummary 考勤汇总
     * @return 考勤汇总集合
     */
    public List<NcAttendSummary> selectNcAttendSummaryList(NcAttendSummary ncAttendSummary);

    /**
     * 新增考勤汇总
     *
     * @param ncAttendSummary 考勤汇总
     * @return 结果
     */
    public int insertNcAttendSummary(NcAttendSummary ncAttendSummary);

    /**
     * 修改考勤汇总
     *
     * @param ncAttendSummary 考勤汇总
     * @return 结果
     */
    public int updateNcAttendSummary(NcAttendSummary ncAttendSummary);

    /**
     * 批量删除考勤汇总
     *
     * @param ids 需要删除的考勤汇总主键集合
     * @return 结果
     */
    public int deleteNcAttendSummaryByIds(Long[] ids);

    /**
     * 删除考勤汇总信息
     *
     * @param id 考勤汇总主键
     * @return 结果
     */
    public int deleteNcAttendSummaryById(Long id);

    String imporIteminfo(List<NcAttendSummary> userList, boolean updateSupport, String operName);

    int summaryAttend(String type);
}
